FROM redis:6.2.12

ENV TZ=Asia/Shanghai REDIS_PASSWORD=analysis

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 

CMD redis-server --requirepass ${REDIS_PASSWORD}

